/*
 * GUIEvent.h
 *
 *  Created on: 14.04.2012
 *      Author: caffeine
 */

#ifndef GUIEVENT_H_
#define GUIEVENT_H_

typedef bool (*DYN_GUIEvent)(irr::gui::IGUIElement*caller,irr::gui::EGUI_EVENT_TYPE type);

struct GUIEvent{
	//irr::SEvent::SGUIEvent event;
	irr::gui::EGUI_EVENT_TYPE EventType;
	DYN_GUIEvent function;
	irr::gui::IGUIElement*caller;
};

#endif /* GUIEVENT_H_ */
